set terminal tikz
set output "tex7.tex"

set xlabel "$x$ axis"
set ylabel "$y$ axis"
plot [-1:3][-2:3] x**2-2*x x**2-2*x+1 x**2-2*x+2